/****************************** Module Header ******************************\
 * Module Name:  PageBasic.cs
 * Module Version:  1.0.0 (2011-9-30)
 * Copyright (c) AnyEB.Com (14507247@qq.com)
 * 
 * This class is a basic class for the webpage.  It supplies common public
 * methods to process a internet request, such as Request processing and so on. 
 * 
 * This source is subject to the GPL License.
 * See http://www.gnu.org/licenses/gpl.html.
 * All other rights reserved.
 * 
 * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, 
 * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED 
 * WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
\***************************************************************************/

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Configuration;
using System.Data;

namespace UCL.Web
{
    /// <summary>
    /// 页面通用基类
    /// <para>版本：1.0.0 [2011-11-17]</para>
    /// <para>提供了页面消息对象、Request二次封装、获取客户端IP等通用功能</para>
    /// </summary>
    public class WebPageBase : System.Web.UI.Page
    {
        /// <summary>
        /// 已登录的用户编号
        /// </summary>
        public Guid UserID;

        /// <summary>
        /// 已登录的用户名称
        /// </summary>
        public string UserName;

        /// <summary>
        /// 是否是管理员
        /// </summary>
        public bool IsAdmin;

        /// <summary>
        /// 域名标签
        /// </summary>
        public string SiteTag;

        public static string ADFUserPath { get; set; }

        public static int UploadFolderGenerateMode { get; set; }
    }
}
